/**
 * Created by Baggio on 2017-12-24.
 */
function setVisit(tid) {
    var postData={tid:tid,status:1}
    $.ajax({
        cache: true,
        type: 'POST',
        data: postData,
        url: '/admin/messageBoard/modifyMessageBoardStatus.html',
        async: false,
        success: function (data) {
if(data.code!=1){
    layer.msg(data.msg, {icon: 5, time: 1000});
    return;
}
            window.location.reload();
        }
    })
}